# ~*~ coding: utf-8 ~*~
from apps.config import ConfigManager

CONFIG = ConfigManager.load_user_config()

# flask-cache
CACHE_TYPE = 'redis'
CACHE_KEY_PREFIX = 'bees'  # 设置cache_key的前缀
CACHE_REDIS_HOST = CONFIG.get('REDIS_HOST')
CACHE_REDIS_PORT = CONFIG.get('REDIS_PORT')
CACHE_REDIS_PASSWORD = CONFIG.get('REDIS_PASSWORD')
CACHE_REDIS_DB = CONFIG.get('REDIS_DB')

